﻿using System;
using System.Collections.Generic;

namespace XuanXiang.Infrastructure.EFCore.MySql
{
    /// <summary>
    /// 商户表
    /// </summary>
    public partial class Merchant
    {
        /// <summary>
        /// 商户ID
        /// </summary>
        public string MId { get; set; } = null!;
        /// <summary>
        /// 账号
        /// </summary>
        public string? MAccount { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string? MPassword { get; set; }
        /// <summary>
        /// 盐
        /// </summary>
        public string? MSalt { get; set; }
        /// <summary>
        /// 商户姓名
        /// </summary>
        public string? MName { get; set; }
        /// <summary>
        /// 是否激活
        /// </summary>
        public int? MIsActive { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public int? MIsBan { get; set; }
        /// <summary>
        /// OpenID
        /// </summary>
        public string? MOpenId { get; set; }
        /// <summary>
        /// 订单数
        /// </summary>
        public int? MOrderCount { get; set; }
        /// <summary>
        /// 完成订单数量
        /// </summary>
        public int? MCompleteOrderCount { get; set; }
        /// <summary>
        /// 取消订单数量
        /// </summary>
        public int? MCancelOrderCount { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        public double? MMoney { get; set; }
        /// <summary>
        /// 成交金额
        /// </summary>
        public double? MCurrMoney { get; set; }
        /// <summary>
        /// 取消金额
        /// </summary>
        public double? MCancelMoney { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string? MContacts { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? MCreateTime { get; set; }
    }
}
